package com.ruoyi.loans.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class LoanCheckInfo {
    private Integer id;
    //车辆名称
    private String carName;
    //贷款种类
    private Integer repayWay;
    //车辆原价
    private BigDecimal carPrice;
    //手续费
    private BigDecimal serviceCharge;
    //借款期数
    private Integer type;
    //利率
    private BigDecimal interestRates;
    //逾期利率
    private BigDecimal overdueInterestRate;
    //手续费
    private BigDecimal settlementCharge;
    //贷款表标识
    private String applyForLoanCode;
    //还款总金额
    private BigDecimal repaymentPrice;
    //贷款人标识
    private String userCode;
    //贷款人
    private String username;
    //审核状态 1通过 2不通过 3待审核
    private Integer isStatus;

    //订单创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    //订单修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    //是否删除
    @TableLogic(value = "1",delval = "2")
    private Integer isDeleted;
//
//    private String code;
    private BigDecimal downMoney;

}
